import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';

const routes: Routes = [
  {
    path: 'exams-manage',
    loadChildren: () => import('./exams-manage/exams-manage.module').then(m => m.ExamsManageModule)
  },
  {
    path: 'test-question',
    loadChildren: () => import('./test-question/test-question.module').then(m => m.TestQuestionModule)
  },
  {
    path: 'question-bank',
    loadChildren: () => import('./question-bank/question-bank.module').then(m => m.QuestionBankModule)
  },
  {path: '', redirectTo: 'question-bank', pathMatch: 'full'},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ExamManagementRoutingModule {
}
